package com.songcha.sakura.mvp.component

import com.songcha.sakura.mvp.contract.ComicDetailContract
import com.songcha.sakura.mvp.module.ComicDetailModule
import com.songcha.sakura.mvp.view.dialog.ComicDetailDialogP
import dagger.BindsInstance
import dagger.Component

@Component(modules = [ComicDetailModule::class])
interface ComicDetailComponent {

    @Component.Builder
    interface Builder{
        @BindsInstance
        fun view(comicDetailContract: ComicDetailContract.View):Builder

        fun build():ComicDetailComponent
    }

    fun inject(dialog:ComicDetailDialogP)
}